<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
  <meta name="copyright" content=
  "Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
  <title>External editors</title>
</head>
<body bgcolor="#FFFFFF">
  <h1 class="Head">External editors</h1>
  <p>Sometimes you may need to use an external program to edit a file in the Workbench. This can occur, for example,
  when the Workbench has no editor for that file type.</p>
  <p>The external program will be used as the default editor if that program is registered as the system default editor
  for that file type and no other editor is registered for that file type in the Workbench. For example, on most
  systems the default editor for JPEG files is an application for editing or viewing image files. If there is no other
  editor associated with .jpg or .jpeg files in the Workbench, then opening a JPEG file from the Workbench would cause
  the file to be opened externally, in the system default editor.</p>
  <p>To open an external program that is not the default editor, you can use <b>Open With &gt; Other...</b> from the
  context menu of a file. External programs can also be registered in Eclipse as the associated editor for a given file
  type. Use the <a class="command-link" href=
  'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.FileEditors)")'>
  <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <b>General &gt; Editors &gt; File
  Associations</b></a> preference page to register editors.</p>
  <h3 class="related">Related concepts</h3><a href="concepts-2.htm">Workbench</a><br>
  <a href="concepts-6.htm">Editors</a>
  <h3 class="related">Related tasks</h3><a href="../tasks/tasks-46.htm">Opening files for editing</a><br>
  <a href="../tasks/tasks-51.xhtml">Associating editors with file types</a><br>
  <a href="../tasks/tasks-52.htm">Editing files outside the Workbench</a>
</body>
</html>
